<?php if(@$success_add==1){?>
	<div class="success">Thankyou, for posting comment. Your comment is under moderation.</div>
<?php }
	else
	{
?>
<div class="form">
<?php echo $form->create('Comment',array('action'=>'add/'.$type.'/'.$item_id));?>
	<fieldset>
 		<legend>Add comments to <?php echo $type;?></legend>
	<?php
		echo $form->input('title');
		echo $form->input('body');
		echo $form->hidden('type', array('value' => $type));
		echo $form->hidden('item_id', array('value' => $item_id));
	?>
	</fieldset>
<?php echo $form->end(__('Submit'));?>
</div>
<?php } ?>